.page-wrapper {
  width: 100%;
  min-height: 100%;
  position: relative;
}

page {
  height: 100%;
  background-color: #f6f6f6;
}

.container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 120rpx;
}

.swiper {
  height: 350rpx;
  width: 100%;
}

.swiper-image {
  width: 100%;
  height: 100%;
}

.header {
  padding: 30rpx;
  background: linear-gradient(to right, #e93b3d, #ff6a6c);
  color: #ffffff;
}

.title {
  font-size: 36rpx;
  font-weight: bold;
  margin-bottom: 10rpx;
  display: block;
}

.subtitle {
  font-size: 24rpx;
  opacity: 0.8;
}

.form-section {
  padding: 0 30rpx;
  margin-top: 20rpx;
}

.section-title {
  display: flex;
  align-items: center;
  margin: 30rpx 0;
}

.title-line {
  width: 8rpx;
  height: 32rpx;
  background-color: #e93b3d;
  border-radius: 4rpx;
  margin-right: 16rpx;
}

.title-text {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
}

.form-item {
  background-color: #ffffff;
  border-radius: 16rpx;
  margin-bottom: 20rpx;
  padding: 30rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
}

.form-item-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.label-container {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 30rpx;
  color: #333;
  font-weight: 500;
}

.label-desc {
  font-size: 22rpx;
  color: #999;
  margin-top: 6rpx;
}

.counter {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 36rpx;
  padding: 6rpx;
}

.counter-btn {
  width: 60rpx;
  height: 60rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  border-radius: 30rpx;
  box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
}

.counter-btn.disabled {
  opacity: 0.5;
  box-shadow: none;
}

.counter-number {
  margin: 0 30rpx;
  font-size: 32rpx;
  color: #333;
  min-width: 40rpx;
  text-align: center;
  font-weight: bold;
}

.radio-group {
  display: flex;
  flex-direction: row;
}

.apartment-type {
  width: 100%;
  margin-top: 20rpx;
  justify-content: space-between;
}

.radio-item {
  display: flex;
  align-items: center;
  margin-right: 40rpx;
}

.radio-item-card {
  flex: 1;
  padding: 20rpx 0;
  background-color: #f8f8f8;
  border-radius: 12rpx;
  text-align: center;
  margin: 0 10rpx;
  border: 2rpx solid transparent;
}

.radio-item-card.active {
  background-color: #fff1f1;
  border-color: #e93b3d;
  color: #e93b3d;
}

.radio-item:last-child {
  margin-right: 0;
}

.radio-circle {
  width: 40rpx;
  height: 40rpx;
  border-radius: 50%;
  border: 2rpx solid #ddd;
  margin-right: 10rpx;
  position: relative;
}

.radio-circle.active {
  border-color: #e93b3d;
}

.radio-circle.active::after {
  content: '';
  position: absolute;
  width: 24rpx;
  height: 24rpx;
  background-color: #e93b3d;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.radio-label {
  font-size: 28rpx;
  color: #333;
}

.button-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30rpx;
  background-color: #ffffff;
  box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.price-estimate {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-right: 30rpx;
}

.price-label {
  font-size: 24rpx;
  color: #999;
}

.price-value {
  font-size: 36rpx;
  color: #e93b3d;
  font-weight: bold;
}

.submit-button {
  background: linear-gradient(to right, #e93b3d, #ff6a6c);
  color: #ffffff;
  height: 88rpx;
  line-height: 88rpx;
  font-size: 32rpx;
  border-radius: 44rpx;
  border: none;
  padding: 0 60rpx;
  font-weight: bold;
}

.popup-content {
  background-color: #ffffff;
  border-radius: 24rpx;
  padding: 40rpx;
  width: 650rpx;
}

.popup-title {
  font-size: 36rpx;
  font-weight: bold;
  color: #333333;
  text-align: center;
  margin-bottom: 20rpx;
}

.popup-desc {
  font-size: 26rpx;
  color: #999;
  text-align: center;
  margin-bottom: 40rpx;
}

.popup-icon {
  display: flex;
  justify-content: center;
  margin: 30rpx 0;
}

.popup-buttons {
  display: flex;
  justify-content: space-between;
}

.popup-submit {
  background: linear-gradient(to right, #e93b3d, #ff6a6c);
  color: #fff;
}

.popup-submit.full-width {
  width: 100% !important;
}

.package-section {
  padding: 0 30rpx;
  margin-top: 20rpx;
}

.package-title {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 20rpx;
}

.package-scroll {
  width: 100%;
  white-space: nowrap;
}

.package-list {
  display: flex;
  padding: 10rpx 0;
}

.package-item {
  display: flex;
  width: 300rpx;
  height: 160rpx;
  background-color: #fff;
  border-radius: 16rpx;
  margin-right: 20rpx;
  padding: 20rpx;
  box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  border: 2rpx solid transparent;
  flex-shrink: 0;
}

.package-item.active {
  border-color: #e93b3d;
  background: linear-gradient(135deg, #fff1f1 0%, #fff 100%);
}

.package-icon {
  width: 80rpx;
  height: 80rpx;
  background-color: #f8f8f8;
  border-radius: 40rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 20rpx;
}

.package-item.active .package-icon {
  background-color: #e93b3d;
}

.package-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.package-name {
  font-size: 30rpx;
  font-weight: bold;
  color: #333;
}

.package-desc {
  font-size: 24rpx;
  color: #999;
  margin: 8rpx 0;
}

.package-price {
  font-size: 28rpx;
  color: #e93b3d;
  font-weight: bold;
}

.duplex-options {
  display: flex;
  flex-direction: column;
  margin-top: 20rpx;
}

.duplex-option {
  display: flex;
  align-items: center;
  padding: 20rpx;
  background-color: #f8f8f8;
  border-radius: 12rpx;
  margin-bottom: 20rpx;
  border: 2rpx solid transparent;
}

.duplex-option.active {
  background-color: #fff1f1;
  border-color: #e93b3d;
}

.duplex-image {
  width: 120rpx;
  height: 120rpx;
  border-radius: 8rpx;
  margin-right: 20rpx;
}

.duplex-info {
  flex: 1;
}

.duplex-name {
  font-size: 28rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 8rpx;
}

.duplex-desc {
  font-size: 24rpx;
  color: #999;;
}

.input-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.area-input {
  width: 250rpx;
  height: 50rpx;
  text-align: right;
  font-size: 28rpx;
  padding: 10rpx 20rpx;
  border: 2rpx solid #bababa;
  border-radius: 8rpx;
}